gtk4.git
10 years agotext view: Expose cursor blink control
Matthias Clasen [Mon, 18 Jan 2016 19:54:25 +0000 (14:54 -0500)]
text view: Expose cursor blink control

Derived classes like GtkSourceView with their own ::key-event
handler need access to this, in order to make their keynav
as nice as the builtin one, wrt to caret visibility.

https://bugzilla.gnome.org/show_bug.cgi?id=760748

10 years agox11: Set event->scroll.is_stop
Carlos Garnacho [Thu, 14 Jan 2016 19:24:28 +0000 (20:24 +0100)]
x11: Set event->scroll.is_stop

We still figure this out from 0/0 scroll events. This method is
not intended to last forever, but it's something we can cling to
so far.

https://bugzilla.gnome.org/show_bug.cgi?id=756729

10 years agowayland: add gdk_event_is_scroll_stop_event()
Peter Hutterer [Wed, 21 Oct 2015 00:14:40 +0000 (10:14 +1000)]
wayland: add gdk_event_is_scroll_stop_event()

And use it to handle kinetic scrolling in the GtkScrolledWindow.

However, dropping the delta check causes the X11-based kinetic
scroll to break since we don't have the stop event here. Correct handling of
xf86-input-libinput-based scroll events is still being discussed.

https://bugzilla.gnome.org/show_bug.cgi?id=756729

10 years agowayland: add support for wl_pointer frame/axis_source/axis_discrete/axis_stop
Peter Hutterer [Tue, 20 Oct 2015 03:21:54 +0000 (13:21 +1000)]
wayland: add support for wl_pointer frame/axis_source/axis_discrete/axis_stop

This adds support for the new wl_pointer events available in v5.

The wl_pointer.axis_source events can be ignored for the purposes here, the
main reason they exist is so that the combination of axis_source=finger and
axis_stop triggers kinetic scrolling. We don't need to care about the source,
axis_stop is enough for us to tell us when we're scrolling.

The wl_pointer.frame events group events together and is intended as a
mechanism to coalesce events together. This for example allows us to now
send a single GTK scroll event for a diagonal scroll. Previously, the two
wl_pointer.axis events had to be handled separately.

The wl_pointer.axis_discrete event sends mouse wheel clicks where
appropriate, and is translated into up/down/left/right scroll events.

https://bugzilla.gnome.org/show_bug.cgi?id=756729

10 years agoDrop a reference to regions
Matthias Clasen [Mon, 18 Jan 2016 19:31:37 +0000 (14:31 -0500)]
Drop a reference to regions

Regions don't work anymore, so don't recommend them in the docs.

10 years agoim context simple: Protect shared data structures
Matthias Clasen [Mon, 18 Jan 2016 18:54:20 +0000 (13:54 -0500)]
im context simple: Protect shared data structures

Since a41f02f9b1843e0f0085f801430e55f413a9bf9c, GtkIMContextSimple
uses threads to load X Compose files. It does that every time a new
im context object is initialized, so we can easily end up with multiple
threads accessing the shared global_tables list at the same time.

Use a lock to prevent that.

https://bugzilla.redhat.com/show_bug.cgi?id=1276432

10 years agocssnode: Don't leak the style cache on destruction
Benjamin Otte [Mon, 18 Jan 2016 17:05:53 +0000 (18:05 +0100)]
cssnode: Don't leak the style cache on destruction

10 years agogdkdisplay-x11: Plug memory leak
Timm Bäder [Mon, 18 Jan 2016 16:22:09 +0000 (17:22 +0100)]
gdkdisplay-x11: Plug memory leak

10 years agotext view: Update selection node visibility
Matthias Clasen [Mon, 18 Jan 2016 16:05:53 +0000 (11:05 -0500)]
text view: Update selection node visibility

Make the node invisible if we don't have a selection.

10 years agoentry: Expand the css node docs
Matthias Clasen [Mon, 18 Jan 2016 15:52:26 +0000 (10:52 -0500)]
entry: Expand the css node docs

Mention the context menu.

10 years agotext view: Expand CSS node docs
Matthias Clasen [Mon, 18 Jan 2016 15:51:54 +0000 (10:51 -0500)]
text view: Expand CSS node docs

Mention the selection node, and the context menu.

10 years agoForgotten file
Matthias Clasen [Mon, 18 Jan 2016 14:06:12 +0000 (09:06 -0500)]
Forgotten file

10 years agonotebook: Don't crash when dnd'ing tabs out
Benjamin Otte [Mon, 18 Jan 2016 14:01:49 +0000 (15:01 +0100)]
notebook: Don't crash when dnd'ing tabs out

https://bugzilla.gnome.org/show_bug.cgi?id=760754

10 years agoaccellabel: Remove unused variable
Benjamin Otte [Mon, 18 Jan 2016 14:01:38 +0000 (15:01 +0100)]
accellabel: Remove unused variable

10 years agogdk: Clarify docs about scale
Matthias Clasen [Mon, 18 Jan 2016 13:54:35 +0000 (08:54 -0500)]
gdk: Clarify docs about scale

Explicitly state where we return application pixels as opposed
to device pixels.

10 years agoTrivial typo fix
Matthias Clasen [Mon, 18 Jan 2016 13:36:53 +0000 (08:36 -0500)]
Trivial typo fix

10 years agoAdd more CSS node tests for notebooks
Matthias Clasen [Mon, 18 Jan 2016 12:39:56 +0000 (07:39 -0500)]
Add more CSS node tests for notebooks

10 years agoentry: Deprecate shadow-type
Timm Bäder [Mon, 18 Jan 2016 11:46:18 +0000 (12:46 +0100)]
entry: Deprecate shadow-type

Things like that should be handled using css. Also, the property value
is unused inside GtkEntry.

10 years agoW32: Detect ticks wraparound
Руслан Ижбулатов [Wed, 22 Apr 2015 19:21:53 +0000 (19:21 +0000)]
W32: Detect ticks wraparound

https://bugzilla.gnome.org/show_bug.cgi?id=748327

10 years agoAdd CSS node tests for checkbutton rtl flipping
Matthias Clasen [Mon, 18 Jan 2016 05:29:29 +0000 (00:29 -0500)]
Add CSS node tests for checkbutton rtl flipping

10 years agoAdd css node tests for expander rtl flipping
Matthias Clasen [Mon, 18 Jan 2016 05:24:53 +0000 (00:24 -0500)]
Add css node tests for expander rtl flipping

10 years agoexpander: Flip the alignment of the vertical box
Matthias Clasen [Mon, 18 Jan 2016 05:19:31 +0000 (00:19 -0500)]
expander: Flip the alignment of the vertical box

To ensure that the title moves to the other side as expected
in RTL, use GTK_ALIGN_START/END instead of GTK_ALIGN_FILL
when packing the title gadget into the vertical box, and
flip the alignment when the text direction changes.

10 years agoexpander: Handle rtl changes again
Matthias Clasen [Mon, 18 Jan 2016 05:11:54 +0000 (00:11 -0500)]
expander: Handle rtl changes again

Now that the box gadget has api for it, use it here to
change the order of the gadgets for right-to-left.

10 years agocheckbutton: Handle rtl changes again
Matthias Clasen [Mon, 18 Jan 2016 05:04:23 +0000 (00:04 -0500)]
checkbutton: Handle rtl changes again

Now that the box gadget has api for it, use it here to
change the order of the gadgets for right-to-left.

10 years agobox gadget: Add a function to reverse children
Matthias Clasen [Mon, 18 Jan 2016 05:03:39 +0000 (00:03 -0500)]
box gadget: Add a function to reverse children

This can be used to handle text direction changes.

10 years agoreftests: Fix up for easy CSS changes
Benjamin Otte [Mon, 18 Jan 2016 04:04:12 +0000 (05:04 +0100)]
reftests: Fix up for easy CSS changes

This is mostly search and replace ala
  GtkButton => button
  GtkWindow => window
  .button => button
or removing style properties that aren't used anymore like
  -GtkButton-default-border: 0

10 years agoreftests: Remove test
Benjamin Otte [Mon, 18 Jan 2016 01:32:19 +0000 (02:32 +0100)]
reftests: Remove test

We no longer match subtypes, so remove the test for it.

10 years agocheckbutton: Use a box gadget
Matthias Clasen [Mon, 18 Jan 2016 02:16:33 +0000 (21:16 -0500)]
checkbutton: Use a box gadget

Now that builtin icons have a baseline, we can just use
a box gadget with baseline alignment for the indicator
and the label.

10 years agobuiltin icon: set a baseline
Matthias Clasen [Mon, 18 Jan 2016 02:02:18 +0000 (21:02 -0500)]
builtin icon: set a baseline

Most uses of builtin icons (check and radio buttons,
expanders, etc) are placed next to labels, so they should
be properly positioned wrt to the baseline. Lacking anything
better, give the builtin icons a baseline that places the
center of the icon at the strikethrough position.

10 years agobox gadget: Deal with optional arguments
Matthias Clasen [Mon, 18 Jan 2016 00:48:40 +0000 (19:48 -0500)]
box gadget: Deal with optional arguments

The baseline arguments to the preferred size callback can
be NULL. Don't crash if they are.

10 years agoTrivial formatting fix
Matthias Clasen [Sun, 17 Jan 2016 20:35:14 +0000 (15:35 -0500)]
Trivial formatting fix

10 years agoDocument restrictions on gtk_style_context_get
Matthias Clasen [Sun, 17 Jan 2016 20:26:14 +0000 (15:26 -0500)]
Document restrictions on gtk_style_context_get

This makes it official that passing a different state
is not generally supported in the getters for CSS properties.

10 years agonotebook: show tabs when asked to
Matthias Clasen [Sun, 17 Jan 2016 19:35:58 +0000 (14:35 -0500)]
notebook: show tabs when asked to

gtk_notebook_set_show_tabs must make the header gadget
visible when show_tabs is TRUE, not the other way around.

https://bugzilla.gnome.org/show_bug.cgi?id=760596

10 years agoaccel label: Fix RTL handling
Matthias Clasen [Sun, 17 Jan 2016 19:08:22 +0000 (14:08 -0500)]
accel label: Fix RTL handling

The 'mad hack' that GtkAccelLabel used to affect the GtkLabel
draw function broke with the introduction of gadgets, since
the positioning is no longer relative to the widgets' allocation
at the time of the call, but rather to the gadgets allocation.

Instead of coming up with an even madder hack to keep this
working, give the GtkLabel draw function knowledge about accel
labels.

https://bugzilla.gnome.org/show_bug.cgi?id=760663

10 years agoinspector: Make cursor-size combo wider
Matthias Clasen [Sun, 17 Jan 2016 18:23:49 +0000 (13:23 -0500)]
inspector: Make cursor-size combo wider

Cursor sizes typically have 2 digits, lets not clip them.

10 years agoExpand window style class documentation a bit
Matthias Clasen [Sun, 17 Jan 2016 17:13:59 +0000 (12:13 -0500)]
Expand window style class documentation a bit

10 years agoAdwaita: Keep entry progress visible
Matthias Clasen [Sat, 16 Jan 2016 18:24:56 +0000 (13:24 -0500)]
Adwaita: Keep entry progress visible

When the entry is focused, make the progress one pixel wider
so it doesn't get swallowed by the focus outline.

10 years agostylechange: Do the right thing when old and new style are equal
Benjamin Otte [Sat, 16 Jan 2016 22:15:11 +0000 (23:15 +0100)]
stylechange: Do the right thing when old and new style are equal

We don't need to compare all their CSS values to figure out that nothing
changed. We know that.

10 years agocssnode: Redo GTK_DEBUG=no-css-cache
Benjamin Otte [Sat, 16 Jan 2016 03:55:58 +0000 (04:55 +0100)]
cssnode: Redo GTK_DEBUG=no-css-cache

Previously this setting would just invalidate the whole CSS tree and
thereby hopefully avoid all cache usage.

Now, we actually don't cause extra invalidations anymore, but instead
avoid ever inserting anything into the cache when this setting is set.

10 years agocssnode: Implement the style cache
Benjamin Otte [Sat, 16 Jan 2016 03:48:58 +0000 (04:48 +0100)]
cssnode: Implement the style cache

This essentially copies the previous cache implementation. With one
caveat: It is now attached to and maintained by the CssNode, not by the
CssStyle.

And this is important because styles may be reused in incompatible
situations which would cause cache collisions and lead to broken CSS in
weird situations.

10 years agocssnode: Split out the style cache
Benjamin Otte [Fri, 15 Jan 2016 22:27:51 +0000 (23:27 +0100)]
cssnode: Split out the style cache

For now, the split out style cache doesn't cache anything. This is
mostly to make sure that bisections of wrong caching behavior will
bisect down to the commit that actually adds caching.

10 years agoAdwaita: stop axing toolbar separators
Lapo Calamandrei [Sat, 16 Jan 2016 03:16:55 +0000 (04:16 +0100)]
Adwaita: stop axing toolbar separators

10 years agoAdwaita: style textview derived widgets
Lapo Calamandrei [Sat, 16 Jan 2016 03:15:30 +0000 (04:15 +0100)]
Adwaita: style textview derived widgets

10 years agocolor scale: Improve themability
Matthias Clasen [Sat, 16 Jan 2016 01:08:57 +0000 (20:08 -0500)]
color scale: Improve themability

Add the .color class, so themes can style scale.color.
Clip the trough rendering to the content path, so that
themes can set rounded corners.

10 years agotreeview: Use foreground color to draw dnd marker
Matthias Clasen [Sat, 16 Jan 2016 00:39:12 +0000 (19:39 -0500)]
treeview: Use foreground color to draw dnd marker

This is still not perfect, but makes the dnd marker better visible
in HighContrastInverse.

10 years agoframe: Don't overlap label and child
Matthias Clasen [Sat, 16 Jan 2016 00:11:03 +0000 (19:11 -0500)]
frame: Don't overlap label and child

We didn't do this previously, so don't start now.

https://bugzilla.gnome.org/show_bug.cgi?id=760528

10 years agoAdwaita: combo style cleanup and fixes
Lapo Calamandrei [Fri, 15 Jan 2016 23:55:59 +0000 (00:55 +0100)]
Adwaita: combo style cleanup and fixes

fixes https://bugzilla.gnome.org/show_bug.cgi?id=760524

10 years agocombo: Add .linked class when appropriate
Matthias Clasen [Fri, 15 Jan 2016 22:55:44 +0000 (17:55 -0500)]
combo: Add .linked class when appropriate

Add the .linked style class to combo boxes which have
an entry, since that is what they are.

10 years agocombobox: Document the popup window CSS node
Matthias Clasen [Fri, 15 Jan 2016 22:47:08 +0000 (17:47 -0500)]
combobox: Document the popup window CSS node

10 years agoapplication: Protect against double shutdown
Matthias Clasen [Fri, 15 Jan 2016 22:36:13 +0000 (17:36 -0500)]
application: Protect against double shutdown

It is not something that can happen normally.
But if it does, we shouldn't crash.

https://bugzilla.gnome.org/show_bug.cgi?id=760680

10 years agomir: add default GdkSeat for the default GdkDisplay
William Hua [Fri, 15 Jan 2016 19:09:33 +0000 (14:09 -0500)]
mir: add default GdkSeat for the default GdkDisplay

10 years agowidget: remove queue_resize in set_sensitive
Matt Watson [Tue, 12 Jan 2016 02:40:53 +0000 (18:40 -0800)]
widget: remove queue_resize in set_sensitive

Calling gtk_widget_propagate_state is enough to queue a resize if
needed

See da7a4089fe82981d1412aaa295e76d47a81ad6df

10 years agowayland: Fix an endless loop
Rui Matos [Fri, 15 Jan 2016 17:35:25 +0000 (18:35 +0100)]
wayland: Fix an endless loop

10 years agoAdwaita: remove messagedialog label squashing hack
Lapo Calamandrei [Fri, 15 Jan 2016 17:33:38 +0000 (18:33 +0100)]
Adwaita: remove messagedialog label squashing hack

since Matthias fixed this properly.

10 years agomessage dialog: Prevent empty title from being shown
Matthias Clasen [Fri, 15 Jan 2016 16:58:51 +0000 (11:58 -0500)]
message dialog: Prevent empty title from being shown

We don't want to grow the titlebar by showing an empty label.

10 years agoAdwaita: some dialog love
Lapo Calamandrei [Fri, 15 Jan 2016 16:56:49 +0000 (17:56 +0100)]
Adwaita: some dialog love

addresses https://bugzilla.gnome.org/show_bug.cgi?id=760525

10 years agoexpander: Destroy gadgets after child widgets
Matthias Clasen [Fri, 15 Jan 2016 15:29:20 +0000 (10:29 -0500)]
expander: Destroy gadgets after child widgets

With child widgets now being sorted into box gadgets, bad things
happen if those gadgets disappear prematurely.

10 years agonotebook: Destroy gadgets after chaining up
Benjamin Otte [Fri, 15 Jan 2016 11:58:14 +0000 (12:58 +0100)]
notebook: Destroy gadgets after chaining up

While chaining up, we might still call into the notebook code. And that
code expects the gadgets to be there.

https://bugzilla.gnome.org/show_bug.cgi?id=760640

10 years agoexpander: Convert to use box gadgets
Matthias Clasen [Fri, 15 Jan 2016 14:41:44 +0000 (09:41 -0500)]
expander: Convert to use box gadgets

Use a vertical box gadget for the overall expander, and a
horizontal one for the title row. This lets us get rid of
all the custom allocation code here.

10 years agoexpander: Deprecate spacing property
Matthias Clasen [Fri, 15 Jan 2016 13:35:39 +0000 (08:35 -0500)]
expander: Deprecate spacing property

The same can be achieved with margins on the child, and
the spacing property gets in the way of converting the
expander to use box gadgets.

10 years agobox gadget: Implement cross-axis alignment
Matthias Clasen [Fri, 15 Jan 2016 11:47:31 +0000 (06:47 -0500)]
box gadget: Implement cross-axis alignment

So far, the box gadget is always allocating all children the
full size in the cross axis. This behavior corresponds to the
align-items: stretch behavior in
https://www.w3.org/TR/css-flexbox-1/#align-items-property
This commit implements the other modes described there.

While widgets have halign/valign properties that we can use for
this, the API for inserting gadgets has to change to take an
extra align parameter. All callers have been updated to pass
GTK_ALIGN_FILL, since that corresponds to the previous behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=760668

10 years agoUpdated POTFILES.skip
Piotr Drąg [Fri, 15 Jan 2016 14:18:32 +0000 (15:18 +0100)]
Updated POTFILES.skip

10 years agowin32: get rid of _gdk_screen global variable
Ignacio Casal Quinteiro [Fri, 15 Jan 2016 19:45:45 +0000 (11:45 -0800)]
win32: get rid of _gdk_screen global variable

The screen is part of the display so it should be belong to it.

10 years agowin32: fix warning
Ignacio Casal Quinteiro [Fri, 15 Jan 2016 19:53:51 +0000 (11:53 -0800)]
win32: fix warning

10 years agoWindows library manager fix
Tom Schoonjans [Sun, 10 Jan 2016 04:07:07 +0000 (09:37 +0530)]
Windows library manager fix

The Makefile.am's had a dependency on incorrectly named libtool
archives for the generation of the .lib files.

https://bugzilla.gnome.org/show_bug.cgi?id=760388

10 years agogtkwidgetpath: update gtk_widget_path_to_string
Alberts Muktupāvels [Tue, 12 Jan 2016 19:34:56 +0000 (21:34 +0200)]
gtkwidgetpath: update gtk_widget_path_to_string

From gtk_widget_path_iter_set_object_name documentation:
"When set, the object name overrides the object type when matching CSS"

Update gtk_widget_path_to_string to match this behaviour.

10 years agoFix typo in previous documentation fix for gtk_css_provider_load_from_data()
Eric Williams [Wed, 13 Jan 2016 13:29:34 +0000 (08:29 -0500)]
Fix typo in previous documentation fix for gtk_css_provider_load_from_data()

10 years agoDocument -gtk-recolor syntax
Matthias Clasen [Thu, 14 Jan 2016 21:06:16 +0000 (16:06 -0500)]
Document -gtk-recolor syntax

10 years agoAdd a way to load recolored icons in CSS
Matthias Clasen [Thu, 14 Jan 2016 18:48:43 +0000 (13:48 -0500)]
Add a way to load recolored icons in CSS

This can come in handy to load images that are not in an icon theme,
but still benefit from symbolic recoloring.

https://bugzilla.gnome.org/show_bug.cgi?id=760536

10 years agoicon theme: Export recoloring function
Matthias Clasen [Thu, 14 Jan 2016 18:49:08 +0000 (13:49 -0500)]
icon theme: Export recoloring function

This will be used in subsequent commits.

https://bugzilla.gnome.org/show_bug.cgi?id=760536

10 years agoicon theme: Add a way to create GtkIconInfos from files
Matthias Clasen [Thu, 14 Jan 2016 17:53:50 +0000 (12:53 -0500)]
icon theme: Add a way to create GtkIconInfos from files

This is sometimes needed, and calling into actual icon theme
code just for it is confusing - the resulting icon does not
depend on the icon theme at all.

https://bugzilla.gnome.org/show_bug.cgi?id=760536

10 years agoAdwaita: pathbar style cleanup
Lapo Calamandrei [Thu, 14 Jan 2016 16:51:49 +0000 (17:51 +0100)]
Adwaita: pathbar style cleanup

10 years agocssstyleproperty: Expose min-width/height
Florian Müllner [Thu, 14 Jan 2016 13:45:28 +0000 (14:45 +0100)]
cssstyleproperty: Expose min-width/height

10 years agoAdwaita: remove superfluous selector on keycap styling
Lapo Calamandrei [Thu, 14 Jan 2016 15:26:22 +0000 (16:26 +0100)]
Adwaita: remove superfluous selector on keycap styling

now that keys are made directly with labels istead of frames.

10 years agoboxgadget: Don't use g_assert
Timm Bäder [Wed, 13 Jan 2016 18:24:46 +0000 (19:24 +0100)]
boxgadget: Don't use g_assert

Use g_return_if_fail instead so nothing abort()s.

10 years agoentry: Don't draw icons twice
Timm Bäder [Wed, 13 Jan 2016 18:14:33 +0000 (19:14 +0100)]
entry: Don't draw icons twice

10 years agoentry: Remove unused code
Timm Bäder [Wed, 13 Jan 2016 18:11:24 +0000 (19:11 +0100)]
entry: Remove unused code

10 years agolabel: Remove some unneeded conditionals
Timm Bäder [Wed, 13 Jan 2016 18:07:20 +0000 (19:07 +0100)]
label: Remove some unneeded conditionals

We are never passing NULL here.

10 years agoshortcutlabel: Use a label directly
Timm Bäder [Sat, 9 Jan 2016 16:15:29 +0000 (17:15 +0100)]
shortcutlabel: Use a label directly

We can everything we need without the frame around it now.

10 years agoGDK W32: Don't use WM-drawn shadow for tooltips
Руслан Ижбулатов [Sun, 27 Dec 2015 05:05:39 +0000 (05:05 +0000)]
GDK W32: Don't use WM-drawn shadow for tooltips

This prevents WM from drawing shadows around tooltip windows,
which, in Adwaita, should have no shadow and are CSD-ish (which means
that tooltip window is larger than it looks, and WM draws the shadow
only on the outside, leaving a gap between the visible tooltip edge and
the shadow).

https://bugzilla.gnome.org/show_bug.cgi?id=759898

10 years agowin32: remove _gdk_root global variable
Paolo Borelli [Thu, 17 Dec 2015 23:36:57 +0000 (00:36 +0100)]
win32: remove _gdk_root global variable

10 years agoEnsure that the fstat fix is not applied on x86_64
Руслан Ижбулатов [Thu, 14 Jan 2016 12:51:26 +0000 (12:51 +0000)]
Ensure that the fstat fix is not applied on x86_64

10 years agoexpander: center the arrow
Matthias Clasen [Thu, 14 Jan 2016 12:33:04 +0000 (07:33 -0500)]
expander: center the arrow

In lieu of more sophisticated alignment, we need to at least
center the arrow allocation wrt to the label.

10 years agoW32: Ensure that correct statting function is used by iconcache
Руслан Ижбулатов [Thu, 14 Jan 2016 09:40:58 +0000 (09:40 +0000)]
W32: Ensure that correct statting function is used by iconcache

With Mingw-w64 fstat() can be an inline function that
calls _fstat32() or _fstat64(), depending on some macros.
And if LFS is enabled, fstat() is defined to turn into
_fstat32i64() or _fstat64(). And some/all of the above
might also be macros as well. Side-step all that mess
and excplicitly re-define fstat as _fstat32, which is
guaranteed to use a version of "stat" struct that
has 32-bit size and time fields, which is what we want.

https://bugzilla.gnome.org/show_bug.cgi?id=760615

10 years agofont chooser: Add a CSS name
Matthias Clasen [Thu, 14 Jan 2016 04:42:35 +0000 (23:42 -0500)]
font chooser: Add a CSS name

The CSS name for GtkFontChooserWidget is fontchooser.

10 years agoapp chooser: Set a CSS name
Matthias Clasen [Thu, 14 Jan 2016 04:38:14 +0000 (23:38 -0500)]
app chooser: Set a CSS name

The CSS name for GtkAppChooserWidget is appchooser.

10 years agoprint dialog: Set a CSS name
Matthias Clasen [Thu, 14 Jan 2016 04:37:08 +0000 (23:37 -0500)]
print dialog: Set a CSS name

The CSS name for GtkPrintUnixDialog is printdialog.

10 years agofile chooser: Set a CSS name
Matthias Clasen [Thu, 14 Jan 2016 04:35:22 +0000 (23:35 -0500)]
file chooser: Set a CSS name

The CSS name for GtkFileChooserWidget is ... filechooser.

10 years agocolor chooser: Set a CSS name
Matthias Clasen [Thu, 14 Jan 2016 04:34:03 +0000 (23:34 -0500)]
color chooser: Set a CSS name

The CSS name for GtkColorChooserWidget is ... colorchooser.

10 years agoinspector: Don't select 'randomly'
Matthias Clasen [Thu, 14 Jan 2016 04:24:38 +0000 (23:24 -0500)]
inspector: Don't select 'randomly'

While rescanning the object tree, we were emitting ::object-selected
signals, possibly causing wild blinking in the application window.
Don't do that.

https://bugzilla.gnome.org/show_bug.cgi?id=760572

10 years agoExpand CSS icon property docs a bit
Matthias Clasen [Thu, 14 Jan 2016 04:06:32 +0000 (23:06 -0500)]
Expand CSS icon property docs a bit

10 years agoFix doc syntax
Matthias Clasen [Thu, 14 Jan 2016 03:47:37 +0000 (22:47 -0500)]
Fix doc syntax

10 years agoImprove docs for icon-related CSS properties
Matthias Clasen [Wed, 13 Jan 2016 21:25:41 +0000 (16:25 -0500)]
Improve docs for icon-related CSS properties

Clarify the relation between the various properties and the
icon loading functions.

10 years agoMake -gtk-icontheme() use -gtk-icon-palette
Matthias Clasen [Wed, 13 Jan 2016 21:17:44 +0000 (16:17 -0500)]
Make -gtk-icontheme() use -gtk-icon-palette

This makes it possible to recolor themed icons with -gtk-icon-palette,
regardless whether they are loaded by the theme or the application.

10 years agoMove the -gtk-icon-palette property up
Matthias Clasen [Wed, 13 Jan 2016 21:16:39 +0000 (16:16 -0500)]
Move the -gtk-icon-palette property up

Other properties will start depending on it in subsequent
commits, so move it up to prevent ordering problems.

10 years agocolor swatch: Use right allocation for window
Matthias Clasen [Wed, 13 Jan 2016 18:58:52 +0000 (13:58 -0500)]
color swatch: Use right allocation for window

Generally, input-only windows that correspond to CSS boxes
should be sized to the border allocation of the gadget.

10 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Wed, 13 Jan 2016 18:55:36 +0000 (18:55 +0000)]
Updated Brazilian Portuguese translation

10 years agoAdd css node tests for right-to-left levelbars
Matthias Clasen [Wed, 13 Jan 2016 14:31:25 +0000 (09:31 -0500)]
Add css node tests for right-to-left levelbars

10 years agonotebook: fix a GCC warning
Cosimo Cecchi [Wed, 13 Jan 2016 16:30:02 +0000 (08:30 -0800)]
notebook: fix a GCC warning

10 years agoAdd css node tests for paned node ordering
Matthias Clasen [Wed, 13 Jan 2016 05:41:44 +0000 (00:41 -0500)]
Add css node tests for paned node ordering